package org.myh.excel.properties;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * ClassName: PropertiesReader
 * Description: 定义属性文件如何读取
 * date: 2024/3/25 9:00
 *
 * @author Yu Han
 * @since JDK 1.8
 */
public interface PropertiesReader {

    /**
     * 获取属性对象
     * @param inputStream 输入流
     * @return 当前属性对象
     * @throws IOException io异常
     */
    Properties getProperties(InputStream inputStream) throws IOException;

}
